//
//  UIScrollView+InfiniteScroll.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 BaseBusiness. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MJRefresh.h"
NS_ASSUME_NONNULL_BEGIN

@interface UIScrollView (InfiniteScroll)

/// 头部刷新
/// @param headerBlock headerBlock
- (void)pullupHeaderRefresh:(void (^)(void))headerBlock;

/// 加载更多数据
/// @param footerBlock footerBlock
- (MJRefreshFooter *)pullDownFootRefresh:(void (^)(void))footerBlock;


@end

NS_ASSUME_NONNULL_END
